/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ms.dal.util;

import java.io.IOException;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;

/**
 *
 * @author minh
 */
public class HibernateFilter implements javax.servlet.Filter {

    public void init(FilterConfig filterConfig) throws ServletException {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {
        //throw new UnsupportedOperationException("Not supported yet.");
        try {
            chain.doFilter(request, response);
        } finally {
        }
    }

    public void destroy() {
        throw new UnsupportedOperationException("Not supported yet.");
    }
}
